<%@ page language="java" %>
<%
    //change the redirect to your welcome page for your app
    String app_home = "InfoMain.jsp";  
    String app_name="HOL";
    
    String url=null;
    url =(String)config.getServletContext().getAttribute("StaticURL");
    
%>

<html>
<head>
  <title>Login Error</title>
  <link href="<%=(String)config.getServletContext().getAttribute("StaticURL")%>/css/tabs.css" rel="stylesheet" type="text/css" />
 
<script language="javascript">
    function setFocus(element) {
        var obj = eval(element);
        // Set the focus to the element desired
        obj.focus();
    }
</script>
</head>

<body onload="setFocus('document.login.j_username')">
<!-- Start Body Table -->
<table align="center" valign="top" border="0" cellpadding="8" cellspacing="0" width="90%">
  <!-- Start Topbox -->
  <tr>
    <td valign="center" width="25%" colspan="2">
      <!-- Start Banner -->
      <table align="center" bgcolor="#000000" border="0" cellpadding="1" cellspacing="0" width="100%">
        <tr>
          <td valign="center">
            <table bgcolor="#ffffff" border="0" cellpadding="8" cellspacing="0" width="100%">
              <tr>
                <td width="135"><img src="<%=url%>/imgs/logo.png"></td>
                <td background="<%=url%>/imgs/density3.jpg" align="right" valign="top">
                <%=com.syrrx.hol.util.UrlHelper_new.getApplicationHeaderURL(request.getServerName(),request.getServerPort(),"HOL",request.getContextPath()) %>										
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <!-- End Banner -->
    </td>
  </tr>
  <!-- End Topbox -->
  <tr>
    <!-- Start Sidebox -->
    <td valign="top" width="25%">
      <table bgcolor="#000000" border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td>
            <table border="0" cellpadding="3" cellspacing="1" width="100%">
              <tr>
                <td background="<%=(String)config.getServletContext().getAttribute("StaticURL")%>/imgs/density2.jpg">
                  <span class="title">&nbsp;Login Support</span>
                </td>
              </tr>
              <tr>
                <td bgcolor="#ffffff">
                  <span class="small">&nbsp;o</span>
                  <a href="http://<%=com.syrrx.hol.util.LoadParameterFilter.InformaticsURL%>/support/login.html#password" class="nav">Forgot password?</a><br />
                  <span class="small">&nbsp;o</span>
                  <a href="http://<%=com.syrrx.hol.util.LoadParameterFilter.InformaticsURL%>/support/login.html#username" class="nav">Forgot user name?</a><br />
                  <span class="small">&nbsp;o</span>
                  <a href="http://<%=com.syrrx.hol.util.LoadParameterFilter.InformaticsURL%>/support/login.html#policy" class="nav">Security policy?</a><br />
                  <br />
                </td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
      <br />
    </td>
    <!-- End Sidebox -->
    <!-- Start Contentbox -->
    <td valign="top" width="75%">
      <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
          <td valign="top" width="100%">
            <!-- Start Content -->
            <table align="center" bgcolor="#000000" border="0" cellPadding="0" cellSpacing="0" width="100%">
              <tr>
                <td>
                  <table border="0" cellpadding="8" cellspacing="1" width="100%">
                    <tr>
                      <td bgcolor="#ffffff">
                        <h1><%= app_name %> Login Error</h1>
                        <p>
                          <form method="post" name="login" action="j_security_check">
                            <table border=0 cellspacing="8">
                              <tr>
                                <td align="right" class="text_bold">Username:</td>
                                <td><input type="text" name="j_username" class="frm"></td>
                              </tr>
                              <tr>
                                <td align="right" class="text_bold">Password:</td>
                                <td><input type="password" name="j_password" class="frm">
                              </tr>
                              <tr>
                                <td>&nbsp;</td>
                                <td><input type="submit" value="Submit" class="frm"></td>
                              </tr>
                            </table>
                          </form>
                        </p>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
			</td>
        </tr>
      </table>
    </td>
    <!-- End Contentbox -->
  </tr>
  <tr>
  <td colspan=2>
            <!-- End Content -->
          
            <!-- Start Feedback-->
            <table align="center" bgcolor="#000000" border="0" cellPadding="0" cellSpacing="0" width="100%">
              <tr>
                <td>
                  <table border="0" cellpadding="8" cellspacing="1" width="100%">
                    <tr>
                      <td bgcolor="#ffffff" colspan="2" background="<%=(String)config.getServletContext().getAttribute("StaticURL")%>/imgs/density2.jpg" class="text">Technical
                      questions? <a href="mailto:informatics@takedasd.com?subject=HOL">Feedback</a></td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
            <!-- End Feedback-->
			</td>
			</tr>
          
  <!-- Start Footer -->
  <tr>
    <td align="middle" colspan="2">
      <span class="footer">
      &copy; Copyright 2007 - Takeda San Diego
      </span>
    </td>
  </tr>
  <!-- End Footer -->
</table>
<!-- End Body Table -->
</body>
</html>

